#ifndef _MT6816_H__
#define _MT6816_H__
#include "at32f413_spi.h"
#include "GPIO_Config.h"


#define SPI_TIME_MAX (9999)
extern uint32_t MT6816_erro_flag;
void MT6816_SPI_Init(void);
uint32_t MT6825_ReadAngle();

#endif